Skip to content

Conversation

watchtheblur
Copy link
Member

Using python interpreter instead of bash because it ignores line endings and will work on all platforms.

The original line is:
$ docker-compose run --rm app python ./manage.py

This will fail because Git for Windows will convert all line endings to CRLF (\r\n) and bash will not understand the shebang line in manage.py. This is the error it returns:

/usr/bin/env: 'python\r': No such file or directory

…instead of bash because it ignores line endings and will work on all platforms
@codecov
Copy link

codecov bot commented Jul 28, 2020

Codecov Report

❗ No coverage uploaded for pull request base (main@38f3688). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #147   +/-   ##
=======================================
  Coverage        ?   83.70%           
=======================================
  Files           ?       29           
  Lines           ?      491           
  Branches        ?        0           
=======================================
  Hits            ?      411           
  Misses          ?       80           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38f3688...6e7738d. Read the comment docs.

@watchtheblur watchtheblur merged commit 04f66f4 into codebuddies:main Jul 28, 2020
watchtheblur added a commit that referenced this pull request Jul 28, 2020
…rpreter instead of bash because it ignores line endings and will work on all platforms (#147)"

This reverts commit 04f66f4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant